import React, { Component } from 'react'
import NavBar from './NavBar';
import NavBar2 from './NavBar2';

export default class App extends Component {
  render() {
    return (
      <div>
        <NavBar>
          <span>aaa</span>
          <strong>bbb</strong>
          <a href="http://www.baidu.com">ccc</a>
        </NavBar>
        <NavBar2 leftSlot={<span>aaa</span>}
                 centerSLot={<strong>bbb</strong>}
                 rightSlot={<a href="http://www.baidu.com">ccc</a>}/>
      </div>
    )
  }
}
